<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title>{dede:field.title/}-{dede:global.cfg_webname/}</title>
		<meta name="keywords" content="{dede:field.keywords/}">
		<meta name="description" content="{dede:field.description function='html2text(@me)'/}">
		<script>const PHPURL = '{dede:field name="phpurl"/}';</script>
		<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
		<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/font/css/font-awesome.min.css">
		<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/style.css">
		<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
		<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/ckeditor/plugins/codesnippet/lib/highlight/styles/default.css">
		<script src="{dede:global.cfg_cmsurl/}/static/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js"></script>
		<script>hljs.initHighlightingOnLoad();</script>
	</head>
	<body>
		{dede:include filename='top.htm'/}
		{dede:include filename='head.htm'/}
		<div class="container py-3">
			<div class="row">
				<div class="col-md-12">
					<div class="position rounded">
						<nav aria-label="breadcrumb">
							<ol class="breadcrumb">
								<li class="breadcrumb-item">当前位置</li>
								{dede:field name='position'/}
							</ol>
						</nav>
					</div>
				</div>
			</div>
		</div>
		<main class="container py-3">
			<div class="row">
				<div class="col-md-9 article-main">
					<h2>{dede:field.title/}</h2>
					<div class="article-meta">
						<span>时间：{dede:field.pubdate function="MyDate('Y-m-d',@me)"/}</span>
						<span>来源：{dede:field.source/}</span>
						<span>作者：{dede:field.writer/}</span>
						<span>浏览：<script src="{dede:field name='phpurl'/}/count.php?view=yes&aid={dede:field name='id'/}&mid={dede:field name='mid'/}"></script>次</span>
					</div>
					<div class="py-3">{dede:field.body/}</div>
					<div class="py-3">作者：{dede:adminname/}</div>
					<nav class="py-3">
						<ul class="pagination justify-content-center">{dede:pagebreak/}</ul>
					</nav>
					<div class="clearfix"></div>
					<div class="row">
						<div class="col-md-4 prenext">
							<div class="pagination-previous mb-3">{dede:prenext get='pre'/}</div>
							<div class="pagination-next">{dede:prenext get='next'/}</div>
						</div>
						<div class="col-md-8">
							<div class="row actbox">
								<ul>
									<li><i class="fa fa-star-o mr-2"></i><a href="{dede:field name='phpurl'/}/stow.php?aid={dede:field.id/}" target="_blank">收藏</a></li>
									<li><i class="fa fa-bug mr-2"></i><a href="javascript:ErrorAddSave({dede:field.id/}, '{dede:field.title/}');">挑错</a></li>
									<li><i class="fa fa-thumbs-o-up mr-2"></i><a href="{dede:field name='phpurl'/}/recommend.php?aid={dede:field.id/}" target="_blank">推荐</a></li>
									<li><i class="fa fa-print mr-2"></i><a href="javascript:;" onClick="window.print();">打印</a></li>
								</ul>
							</div>
						</div>
					</div>
					{dede:include comment='文档顶踩模块' filename='widget_article_digg.htm'/}
					{dede:include comment='文档评论模块' file='widget_article_feedback.htm'/}
				</div>
				<div class="col-md-3">
					<div class="pb-3">
	                    <form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
	                        <input type="hidden" name="kwtype" value="0">
	                        <div class="input-group">
		                        <input name="q" type="text" class="form-control" placeholder="请输入...">
		                        <button type="submit" class="btn"><i class="fa fa-search"></i></button>
		                    </div>
	                    </form>
                    </div>
					{dede:include comment='推荐文档' filename='widget_recommend.htm'/}
					{dede:include comment='热点文档' filename='widget_hot.htm'/}
				</div>
			</div>
		</main>
		{dede:include filename='foot.htm'/}
	</body>
</html>